<template>
  <div id="app">
    <h1>vue-ssr</h1>
    <router-link to="/bar">bar</router-link>
    <router-link to="/foo">foo</router-link>
    <a href="/foo">我是a标签 foo, 由服务端渲染</a>
    <hr />
    <router-view></router-view>
  </div>
</template>
<script>
import Bar from "./components/bar.vue";
import Foo from "./components/foo.vue";
export default {
  name: "App",
  components: {
    Bar,
    Foo,
  },
};
</script>